import unittest
import HTMLTestRunner

test_list = unittest.defaultTestLoader.discover('../daibanshiwu',pattern='oaDaiBan*.py')
file = open('待办事项测试报告.html',mode='ab')
runner = HTMLTestRunner.HTMLTestRunner(stream = file,title = '待办事项测试报告',description = '作者:秦吉伟')
runner.run(test_list)